package com.ims.core.enums;

/**
 * 拆分限额
 * 0    最大额度
 * 1    自定义额度
 * @author IMS
 */
public enum SplitType {
    MAXIMUM_QUOTA(0, "最大额度"),
    CUSTOM_QUOTA(1, "自定义额度");

    private final int code;
    private final String name;

    SplitType(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}